package com.example.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description="分页查询返回类")
public class PageVo<T> {

    @Schema(description="总记录数")
    private Long total;
    @Schema(description ="记录")
    private List<T> records;

}
